import 'package:flutter/material.dart';
import 'package:flutter_module/system/library_map.dart';

class ResourcesConfig {
  ///根据数据类型，获取图标
  static Icon getGeometryTypeIcon(GeometryType type) {
    switch (type) {
      case GeometryType.geometryTypeLine:
        return const Icon(Icons.show_chart_outlined);
      case GeometryType.geometryTypePolygon:
        return const Icon(Icons.crop_square_outlined);
      default:
        return const Icon(Icons.add_location_outlined);
    }
  }
}
